#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
@file_name: running_two_coroutine.py
@date: 2025-07-23 16:13
@author: Falling Snow
@desc: 运行 2 个协程
"""

import asyncio

from util import delay


async def add_one(number: int) -> int:
    return number + 1


async def hello_world_message() -> str:
    await delay(1)
    return "Hello World!"


async def main() -> None:
    message = await hello_world_message()
    one_plus_one = await add_one(1)
    print(one_plus_one)
    print(message)


if __name__ == '__main__':
    asyncio.run(main())
